package com.tongji.quickCRUDQ.dao;

import com.tongji.quickCRUDQ.model.CommonBean;

/**
 * User Data Access Object (Dao) interface.
 *
 * <p>
 * <a href="UserDao.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface UserDao extends BaseDao {
	public void updatePassword(String userName,String password);
	public void grantRoles(String userId,String[] roleIds);
	public CommonBean createUser();
	public CommonBean findUser(String userName);
	public CommonBean findUserById(String userId);
	
}
